<template>
  <div>
    {{myMethod()}}
    {{myMethod()}}
    {{myMethod()}}
    {{myComputed}}
    {{myComputed}}
    {{myComputed}}
  </div>
</template>

<script lang="ts" setup>
import {computed, ref} from "vue";
const msg=ref("Hello Vue")
const myMethod=()=>{
  console.log("myMethod")
  return msg.value.split("").reverse().join("")
}

const myComputed=computed(()=>{
  console.log("myComputed")
  return msg.value.split("").reverse().join("")
})
</script>


<style>

</style>